package com.ruoyi.award.mapper;

import java.util.List;
import com.ruoyi.award.domain.FirefighterAward;

/**
 * 奖励情况Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-11
 */
public interface FirefighterAwardMapper
{
    /**
     * 查询奖励情况
     *
     * @param id 奖励情况主键
     * @return 奖励情况
     */
    public FirefighterAward selectFirefighterAwardById(Long id);

    /**
     * 查询奖励情况列表
     *
     * @param firefighterAward 奖励情况
     * @return 奖励情况集合
     */
    public List<FirefighterAward> selectFirefighterAwardList(FirefighterAward firefighterAward);

    /**
     * 新增奖励情况
     *
     * @param firefighterAward 奖励情况
     * @return 结果
     */
    public int insertFirefighterAward(FirefighterAward firefighterAward);

    /**
     * 修改奖励情况
     *
     * @param firefighterAward 奖励情况
     * @return 结果
     */
    public int updateFirefighterAward(FirefighterAward firefighterAward);

    /**
     * 删除奖励情况
     *
     * @param id 奖励情况主键
     * @return 结果
     */
    public int deleteFirefighterAwardById(Long id);

    /**
     * 批量删除奖励情况
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFirefighterAwardByIds(Long[] ids);

    void deleteFirefighterAwardByIduser(Long userId);
}
